package com.project.homework4_8.bean;

import java.time.LocalDate;

public class LogBean {
    /**日志编号*/
    private int id;
    /**日志内容*/
    private String info;
    /**日志日期*/
    private LocalDate date = LocalDate.now();

    public LogBean(String info) {
        this.info = info;
    }

    public LogBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "id=" + id +
                ", info='" + info + '\'' +
                ", date=" + date +
                '}';
    }
}
